home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C09 / Borland.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.0 KB  |  92 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C09
  7. # using the Borland compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Borland.makefile
  11.  
  12. # Note: this requires the upgrade from
  13. # www.Borland.com for successful compilation!
  14. CPP = Bcc32
  15. CPPFLAGS = -w-inl -w-csu -wnak
  16. OFLAG = -e
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Macro.exe \
  25.     Inline.exe \
  26.     Access.exe \
  27.     Rectangle.exe \
  28.     Rectangle2.exe \
  29.     Cpptime.exe \
  30.     Evorder.exe \
  31.     Hidden.exe \
  32.     Noinsitu.exe \
  33.     ErrTest.exe 
  34.  
  35. test: all 
  36.     Macro.exe  
  37.     Inline.exe  
  38.     Access.exe  
  39.     Rectangle.exe  
  40.     Rectangle2.exe  
  41.     Cpptime.exe  
  42.     Evorder.exe  
  43.     Hidden.exe  
  44.     Noinsitu.exe  
  45.     ErrTest.exe  
  46.  
  47. bugs: 
  48.     @echo No compiler bugs in this directory!
  49.  
  50. Macro.exe: Macro.obj 
  51.     $(CPP) $(OFLAG)Macro.exe Macro.obj 
  52.  
  53. Inline.exe: Inline.obj 
  54.     $(CPP) $(OFLAG)Inline.exe Inline.obj 
  55.  
  56. Access.exe: Access.obj 
  57.     $(CPP) $(OFLAG)Access.exe Access.obj 
  58.  
  59. Rectangle.exe: Rectangle.obj 
  60.     $(CPP) $(OFLAG)Rectangle.exe Rectangle.obj 
  61.  
  62. Rectangle2.exe: Rectangle2.obj 
  63.     $(CPP) $(OFLAG)Rectangle2.exe Rectangle2.obj 
  64.  
  65. Cpptime.exe: Cpptime.obj 
  66.     $(CPP) $(OFLAG)Cpptime.exe Cpptime.obj 
  67.  
  68. Evorder.exe: Evorder.obj 
  69.     $(CPP) $(OFLAG)Evorder.exe Evorder.obj 
  70.  
  71. Hidden.exe: Hidden.obj 
  72.     $(CPP) $(OFLAG)Hidden.exe Hidden.obj 
  73.  
  74. Noinsitu.exe: Noinsitu.obj 
  75.     $(CPP) $(OFLAG)Noinsitu.exe Noinsitu.obj 
  76.  
  77. ErrTest.exe: ErrTest.obj 
  78.     $(CPP) $(OFLAG)ErrTest.exe ErrTest.obj 
  79.  
  80.  
  81. Macro.obj: Macro.cpp ..\require.h 
  82. Inline.obj: Inline.cpp 
  83. Access.obj: Access.cpp 
  84. Rectangle.obj: Rectangle.cpp 
  85. Rectangle2.obj: Rectangle2.cpp 
  86. Cpptime.obj: Cpptime.cpp Cpptime.h 
  87. Evorder.obj: Evorder.cpp 
  88. Hidden.obj: Hidden.cpp 
  89. Noinsitu.obj: Noinsitu.cpp 
  90. ErrTest.obj: ErrTest.cpp ..\require.h 
  91.  
  92.